package kayao.server;

import java.util.Vector;

import kayao.common.Client;
import kayao.monitor.ServerMonitor;

public class MonitorThread extends Thread {
	protected static Vector<Vector<Client>> sTeams = null;
	protected static ServerMonitor sSrvmon;

	
	public MonitorThread(Vector<Vector<Client>> teams){
		this.sTeams = teams;
	}
	
    public void run() {
    	sSrvmon = new ServerMonitor("Monitor");
    	sSrvmon.init(sTeams);
    }
    
    public ServerMonitor getSrvMon(){
    	return sSrvmon;
    }
}
